/* eslint-disable indent */
'use strict'

module.exports = {

    PlaceCreate: {
        barcode: { type: 'string', required: true, description: '门店编码', example: '5001111245' },
        barname: { type: 'string', required: true, description: '门店名称', example: 'XXX电竞馆' },
        expires: { type: 'string', required: true, description: '到期时间', example: '2024-05-05 12:00:00' },
        status: { type: 'number', required: false, description: '状态', example: 1 }
    },

    PlaceEdit: {
        id: { type: 'number', required: true, description: '门店ID', example: 111 },
        barcode: { type: 'string', required: false, description: '门店编码', example: '5001111245' },
        barname: { type: 'string', required: false, description: '门店名称', example: 'XXX电竞馆' },
        expires: { type: 'string', required: false, description: '到期时间', example: '2024-05-05 12:00:00' },
        status: { type: 'number', required: false, description: '状态', example: 1 }
    },

    PlaceDelete: {
        id: { type: 'number', required: true, description: '门店ID', example: 111 }
    },

    PlaceAuth: {
        barcode: { type: 'string', required: true, description: '门店编码', example: '5001111245' },
        barname: { type: 'string', required: true, description: '门店名称', example: 'XXX电竞馆' }
    },

    PlaceList: {
        barname: { type: 'string', required: false, description: '门店名称，支持模糊查询', example: 'XXX电竞' },
        pageIndex: { type: 'number', required: false, description: '页码', example: 1 },
        pageSize: { type: 'number', required: false, description: '每页数量', example: 10 }
    },

    PlaceEditVersion: {
        barcode: { type: 'string', required: true, description: '门店编码', example: '5001111245' },
        version: { type: 'string', required: true, description: '版本号', example: '1.0.0.0' }
    }

}
